class ShopOrder4AppRecordEntity {
//ID
  String id = "";
  //商品规格标识
  String commoditySpecId = "";
  //本次单价
  String shopPrice = "";
//购买数量
  String shopCt = "";
  //购买总价
  String shopAllPrice = "";
  //定单状态
  String orderState = "";
  //定单状态名称*
  String orderStateName = "";
  //商品名称*
  String name = "";
  String payDate = "";
  //广告图片文件网址*
  String fistImgUrl = "";
  //用户与团规格关联标识，注意对于复购的商品此值必须传。如何传？未支付的定单打开重新支付时前端将此值原原本本传回来")
  String custGroupsRelaId;
  ShopOrder4AppRecordEntity(
      {this.id,
      this.payDate,
      this.custGroupsRelaId,
      this.commoditySpecId,
      this.shopPrice,
      this.shopCt,
      this.shopAllPrice,
      this.orderState,
      this.orderStateName,
      this.name,
      this.fistImgUrl});

  ShopOrder4AppRecordEntity.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    custGroupsRelaId = json['custGroupsRelaId'];
    commoditySpecId = json['commoditySpecId'];
    shopPrice = json['shopPrice'];
    shopCt = json['shopCt'];
    shopAllPrice = json['shopAllPrice'];
    orderState = json['orderState'];
    orderStateName = json['orderStateName'];
    name = json['name'];
    fistImgUrl = json['fistImgUrl'];
    payDate = json['payDate'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['custGroupsRelaId'] = this.custGroupsRelaId;
    data['commoditySpecId'] = this.commoditySpecId;
    data['shopPrice'] = this.shopPrice;
    data['shopCt'] = this.shopCt;
    data['shopAllPrice'] = this.shopAllPrice;
    data['orderState'] = this.orderState;
    data['orderStateName'] = this.orderStateName;
    data['name'] = this.name;
    data['fistImgUrl'] = this.fistImgUrl;
    data['payDate'] = this.payDate;
    return data;
  }
}
